package com.zhentao.enums.admin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户角色中间表
 * @TableName ad_user_role
 */
@TableName(value ="ad_user_role")
@Data
public class AdUserRole implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "uid")
    private Integer uid;

    /**
     *
     */
    @TableField(value = "rid")
    private Integer rid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
